package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.common.core.domain.AjaxResult;
import com.zzyl.nursing.domain.dto.HealthAssessmentDto;
import com.zzyl.nursing.domain.pojo.HealthAssessment;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 健康评估Service接口
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IHealthAssessmentService extends IService<HealthAssessment> {
    /**
     * 查询健康评估
     * @param id 健康评估主键
     * @return 健康评估
     */
    public HealthAssessment selectHealthAssessmentById(Long id);
    
    /**
     * 查询健康评估列表
     * @param healthAssessment 健康评估
     * @return 健康评估集合
     */
    public List<HealthAssessment> selectHealthAssessmentList(HealthAssessment healthAssessment);
    
    /**
     * 新增健康评估
     * @param healthAssessment 健康评估
     * @return 结果
     */
    public Long insertHealthAssessment(HealthAssessmentDto healthAssessmentDto);
    
    /**
     * 体检报告上传
     * @param file
     * @param idCardNo
     * @return
     */
    AjaxResult upload(MultipartFile file,String idCardNo);
}
